package com.ziiwee.reduce.describe;

import com.ziiwee.reduce.commons.interfaces.Unique;
import org.springframework.core.ResolvableType;

import java.util.List;

/**
 * Controller 描述
 */
public interface ControllerDescribe extends Describe, Unique<String> {

    /**
     * 获得 Controller 中的所有 Handler
     *
     * @return
     */
    List<HandlerDescribe> getHandlers();

    ResolvableType getSubjectType();

}
